package com.feri.project.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Employee {

    private Integer id;


    private String name;


    private String empid;


    private String department;


    private String password;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date entrytime;


    private Integer flag;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public String getEmpid() {
        return empid;
    }


    public void setEmpid(String empid) {
        this.empid = empid == null ? null : empid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_employee.department
     *
     * @return the value of t_employee.department
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public String getDepartment() {
        return department;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_employee.department
     *
     * @param department the value for t_employee.department
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_employee.password
     *
     * @return the value of t_employee.password
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_employee.password
     *
     * @param password the value for t_employee.password
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_employee.entryTime
     *
     * @return the value of t_employee.entryTime
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public Date getEntrytime() {
        return entrytime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_employee.entryTime
     *
     * @param entrytime the value for t_employee.entryTime
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public void setEntrytime(Date entrytime) {
        this.entrytime = entrytime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_employee.flag
     *
     * @return the value of t_employee.flag
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_employee.flag
     *
     * @param flag the value for t_employee.flag
     *
     * @mbggenerated Mon Mar 06 14:15:55 CST 2023
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}